package com.zyz.L_泛型.通配符.应用;

/**
 * @author: vick
 * @Date: 2025/4/2
 * @Description:
 * @version: 1.0
 */
public class Test {
    public static void main(String[] args) {
        Person<Contact> contactPerson = new Person<Contact>(new Contact("常州市", "18818975641"));
        System.out.println(contactPerson);

        Person<Introduction> introductionPerson = new Person<Introduction>(new Introduction("Vick","男",11));
        System.out.println(introductionPerson);
    }
}
